package com.daily.pump.model;

import android.os.Parcel;
import android.os.Parcelable;

public class SimpleWifiBean implements Parcelable {

    public String wifiName;
    public String level;
    //    private String state;  //已连接  正在连接  未连接 三种状态
    public String capabilities;//加密方式

    public SimpleWifiBean() {

    }

    protected SimpleWifiBean(Parcel in) {
        wifiName = in.readString();
        level = in.readString();
        capabilities = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(wifiName);
        dest.writeString(level);
        dest.writeString(capabilities);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<SimpleWifiBean> CREATOR = new Creator<SimpleWifiBean>() {
        @Override
        public SimpleWifiBean createFromParcel(Parcel in) {
            return new SimpleWifiBean(in);
        }

        @Override
        public SimpleWifiBean[] newArray(int size) {
            return new SimpleWifiBean[size];
        }
    };
}
